package cclub.demo.pojo.DO;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;
import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "interview")
public class interviewDO {
    @TableId(type = IdType.AUTO)
    private Integer id;
    @TableField(value = "project_id")
    private Integer projectId;
    private String position;
    @TableField(value = "user_id")
    private String userId;
    @TableField(value = "candidate_name")
    private String candidateName;
    @TableField(value = "candidate_mobile")
    private String candidateMobile;
    @TableField(value = "candidate_mail")
    private String candidateMail;
    @TableField(value = "candidate_room_code")
    private String candidateRoomCode;
    @TableField(value = "candidate_access_status")
    private Integer candidateAccessStatus;
    @TableField(value = "interviewer_name")
    private String interviewerName;
    @TableField(value = "interviewer_mobile")
    private String interviewerMobile;
    @TableField(value = "interviewer_mail")
    private String interviewerMail;
    @TableField(value = "interview_room_code")
    private String interviewRoomCode;
    @TableField(value = "interviewer_access_status")
    private Integer interviewerAccessStatus;
    @DateTimeFormat(pattern = "yyyy-MM-dd hh:mm:ss")
    @TableField(value = "start_time")
    private Date startTime;
    private Integer period;
    @TableField(value = "is_recording_screen")
    private Integer isRecordingScreen;
    @TableField(value = "recording_url")
    private String recordingUrl;
    @TableField(value = "resume_url")
    private String resumeUrl;
    private Integer status;
    private String remark;
    private String duration;
}
